package com.ruoyi.system.domain.module.mer;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 服务商家对象 mer
 *
 * @author ruoyi
 * @date 2021-09-05
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("mer_user")
public class MerUser implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private Integer merId;

    private Integer userId;

    private Long sysUserId;
    private String nickName;
    private Integer userType;
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    private Integer createById;
    private Integer state;
    private Integer isAdmin;

    @TableField(exist = false)
	private String sysUserName;

	@TableField(exist = false)
	private String wxUserName;
	@TableField(exist = false)
	private String faceUrl;

	@TableField(exist = false)
	private Integer isUserMp;

}
